package cn.tedu.javacv.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/test")
@Api(tags = "测试")
@Validated
public class TestTransmit {
    @GetMapping("/trans")
    @ApiOperation(value = "转发")
    public ResponseEntity test() {
        return ResponseEntity.ok().body("test transmit success!");
    }
}
